export const lesionInfo_artery = {
  shape_0: "左叶上极",
  shape_1: "左叶中部",
  echo_intensity_0: "等回声",
  echo_intensity_1: "低回声",
  echo_intensity_2: "高回声",
};

export const lesionInfo_thyroid = {
  loc_0: "左叶上极",
  loc_1: "左叶中部",
  loc_2: "左叶下极",
  loc_3: "右叶上极",
  loc_4: "右叶中部",
  loc_5: "右叶下极",
  loc_6: "峡部",
  jj_shape_0: "规则",
  jj_shape_1: "不规则",
  jj_echo_intensity_0: "低回声",
  jj_echo_intensity_1: "等回声",
  jj_echo_intensity_2: "高回声",
  jj_echo_intensity_3: "无回声",
  jj_echo_distribution_0: "均匀",
  jj_echo_distribution_1: "不均匀",
  edge_0: "光整",
  edge_1: "不规则",
  edge_2: "模糊",
  edge_3: "甲状腺外侵犯",
  structure_0: "实性",
  structure_1: "囊实混合性",
  structure_2: "囊性",
  structure_3: "海绵状",
  sonic_halo_0: "无",
  sonic_halo_1: "有",
  focal_hyperechoic_0: "无",
  focal_hyperechoic_1: "点状强回声",
  focal_hyperechoic_2: "粗大钙化",
  comet_tail_0: "无",
  comet_tail_1: "有",
  rear_echo_0: "无改变",
  rear_echo_1: "增强",
  rear_echo_2: "衰减",
  aspect_ratio_0: "A/T≥1",
  aspect_ratio_1: "A/T＜1",
  blood_flow_0: "无血供",
  blood_flow_1: "不丰富",
  blood_flow_2: "丰富",
};
//处理病灶中没有值时的默认值
export function dellLesionInfo(defaultInfo, info) {
  let obj = { ...info };
  for (let prop in defaultInfo) {
    if (!obj[prop]) {
      obj[prop] = defaultInfo[prop];
    }
  }
  return obj;
}
